@echo off
REM 将命名服务集成在服务端,线程1运行命名服务,线程2运行业务
set /p choice=please input(1): 
set TAO="E:\_proj\_opendds\ACE_wrappers\TAO"

REM 修改  MessengerTask.cpp  给出运行时间  ACE_Time_Value tv(1000); 
timeout /t 1 >nul
echo start NamingMessenger.exe
start "MessengerServer" cmd /c %TAO%\\orbsvcs\DevGuideExamples\NamingService\Naming_Server\NamingMessenger.exe

timeout /t 2 >nul
echo start MessengerClient.exe
timeout /t 4 >nul
start "MessengerClient" cmd /k %TAO%\\orbsvcs\DevGuideExamples\NamingService\Naming_Client\MessengerClient.exe